

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class ContactUS
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _ContactTitleAR ="";
public System.String ContactTitleAR
{
get { return _ContactTitleAR;}
set { _ContactTitleAR = value;}
}
System.String _ContactTitleEN ="";
public System.String ContactTitleEN
{
get { return _ContactTitleEN;}
set { _ContactTitleEN = value;}
}
System.String _Phone1 ="";
public System.String Phone1
{
get { return _Phone1;}
set { _Phone1 = value;}
}
System.String _InnerPhone1 ="";
public System.String InnerPhone1
{
get { return _InnerPhone1;}
set { _InnerPhone1 = value;}
}
System.String _Phone2 ="";
public System.String Phone2
{
get { return _Phone2;}
set { _Phone2 = value;}
}
System.String _InnerPhone2 ="";
public System.String InnerPhone2
{
get { return _InnerPhone2;}
set { _InnerPhone2 = value;}
}
System.String _Mobile1 ="";
public System.String Mobile1
{
get { return _Mobile1;}
set { _Mobile1 = value;}
}
System.String _Mobile2 ="";
public System.String Mobile2
{
get { return _Mobile2;}
set { _Mobile2 = value;}
}
System.String _Email1 ="";
public System.String Email1
{
get { return _Email1;}
set { _Email1 = value;}
}
System.String _Email2 ="";
public System.String Email2
{
get { return _Email2;}
set { _Email2 = value;}
}
public ContactUS()
{
}
public ContactUS(System.String __ContactTitleAR,System.String __ContactTitleEN,System.String __Phone1,System.String __InnerPhone1,System.String __Phone2,System.String __InnerPhone2,System.String __Mobile1,System.String __Mobile2,System.String __Email1,System.String __Email2)
{
_ContactTitleAR = __ContactTitleAR;
_ContactTitleEN = __ContactTitleEN;
_Phone1 = __Phone1;
_InnerPhone1 = __InnerPhone1;
_Phone2 = __Phone2;
_InnerPhone2 = __InnerPhone2;
_Mobile1 = __Mobile1;
_Mobile2 = __Mobile2;
_Email1 = __Email1;
_Email2 = __Email2;
}
public ContactUS(System.Int64 __ID,System.String __ContactTitleAR,System.String __ContactTitleEN,System.String __Phone1,System.String __InnerPhone1,System.String __Phone2,System.String __InnerPhone2,System.String __Mobile1,System.String __Mobile2,System.String __Email1,System.String __Email2)
{
_ID = __ID;
_ContactTitleAR = __ContactTitleAR;
_ContactTitleEN = __ContactTitleEN;
_Phone1 = __Phone1;
_InnerPhone1 = __InnerPhone1;
_Phone2 = __Phone2;
_InnerPhone2 = __InnerPhone2;
_Mobile1 = __Mobile1;
_Mobile2 = __Mobile2;
_Email1 = __Email1;
_Email2 = __Email2;
}


             public override bool Equals(object obj)
         {
             if (obj is ContactUS)
             {
                 ContactUS newObj = (ContactUS)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
